<meta http-equiv=content-type content="text/html; charset=utf-8" />
<%
String direction = (String)request.getParameter("page");
if(direction != null){
if( direction.equals("register")){ %>
<jsp:include page="register.jsp" />
<%
}else if( direction.equals("messageSent")){ %>
<jsp:include page="messageSent.jsp" />
<%}else if( direction.equals("showSent")){ %>
<jsp:include page="showSent.jsp" />
<%}else if( direction.equals("showMessage")){ %>
<jsp:include page="showMessage.jsp" />
<%}else if( direction.equals("messages")){ %>
<jsp:include page="messages.jsp" />
<%}else if( direction.equals("showResults")){ %>
<jsp:include page="showResults.jsp" />
<%}else if( direction.equals("showFavourites")){ %>
<jsp:include page="showFavourites.jsp" />
<%}else if( direction.equals("showAdopted")){ %>
<jsp:include page="showAdopted.jsp" />
<%}else if( direction.equals("adoptionSuccess")){ %>
<jsp:include page="adoptionSuccess.jsp" />
<%}else if( direction.equals("confirmAdopt")){ %>
<jsp:include page="confirmAdopt.jsp" />
<%}else if( direction.equals("animalProfile")){ %>
<jsp:include page="animalProfile.jsp" />
<%}else if( direction.equals("deleteAnimal")){ %>
<jsp:include page="deleteAnimal.jsp" />
<%}else if( direction.equals("editAnimal")){ %>
<jsp:include page="editAnimal.jsp" />
<%}else if( direction.equals("showAnimals")){ %>
<jsp:include page="showAnimals.jsp" />
<%}else if( direction.equals("adAnimalSuccess")){ %>
<jsp:include page="adAnimalSuccess.jsp" />
<%}else if( direction.equals("adAnimal")){ %>
<jsp:include page="adAnimal.jsp" />
<%}else if( direction.equals("editUser")){ %>
<jsp:include page="editUser.jsp" />
<%}else if( direction.equals("changeType")){ %>
<jsp:include page="changeType.jsp" />
<%}else if( direction.equals("deleteUser")){ %>
<jsp:include page="deleteUser.jsp" />
<%}else if( direction.equals("contact")){ %>
<jsp:include page="contact.jsp" />
<%}else if( direction.equals("showAds")){ %>
<jsp:include page="showAds.jsp" />
<%}else if( direction.equals("deleteAccountSuccess")){ %>
<jsp:include page="deleteAccountSuccess.jsp" />
<%}else if( direction.equals("addAd")){ %>
<jsp:include page="addAd.jsp" />
<%} else if( direction.equals("changePassword")){ %>
<jsp:include page="changePassword.jsp" />
<%}else if( direction.equals("changePasswordSuccess")){ %>
<jsp:include page="changePasswordSuccess.jsp" />
<%}else if( direction.equals("registerSuccess")){ %>
<jsp:include page="registerSuccess.jsp" />
<%} else if( direction.equals("activationSuccess")){ %>
<jsp:include page="activationSuccess.jsp" />
<%
} else if( direction.equals("editAccount")){ %>
<jsp:include page="editAccount.jsp" />
<%
}} else  { %>
<jsp:include page="hello.jsp" />
<%}%>